package com.first.xiinn.service.impl;

import java.util.List;

import com.first.core.service.impl.BaseServiceImpl;
import com.first.xiinn.dao.BookDao;
import com.first.xiinn.model.BookManager;
import com.first.xiinn.model.BookStatistics;
import com.first.xiinn.service.BookService;

public class BookServiceImpl extends BaseServiceImpl<BookManager> implements BookService{
	private BookDao bookDao;
	public BookServiceImpl(BookDao dao) {
		super(dao);
		this.bookDao = dao;
	}
	/*
	 * (non-Javadoc)
	 * @see com.first.core.service.impl.GenericServiceImpl#get(java.lang.String)
	 */
	public BookManager get(String id) {
		BookManager book =null;
		try {
			 book = this.dao.get(id);
		} catch (Exception e) {
			e.getMessage();
		}
		return book;
	}
}
